package builder;

public class Product implements BaseProduct {

	private String info1;
	private String info2;

	public String getInfo1() {
		return info1;
	}

	public String getInfo2() {
		return info2;
	}

	public Product(ProductBuilder builder) {
		setProperty1(builder.info1);
		setProperty2(builder.info2);
	}


	public void setProperty1(String info1) {
		this.info1 = info1;

	}


	public void setProperty2(String info2) {
		this.info2 = info2;

	}

	@Override
	public String toString() {
		return "Product [info1=" + info1 + ", info2=" + info2 + "]";
	}

}
